package model

import "gorm.io/gorm"

type BaseModel struct {
	*gorm.DB  `gorm:"-" json:"-"`
	Id        uint   `orm:"id,primary" json:"id"`
	CreatedAt string `orm:"created_at" json:"created_at"` //日期时间字段统一设置为字符串即可
	UpdatedAt string `orm:"updated_at" json:"updated_at"`
}
